package com.power.feign;

import com.power.domain.Sku;
import com.power.feign.sentinel.ProductFeignFallback;
import com.power.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Description 购物车业务模块调用商品模块
 * @Author dingchunlin
 * @Date 2024/07/22 14:13
 * @Version 1.0.0
 */
@FeignClient(value = "product-service", fallback = ProductFeignFallback.class)
public interface BasketProdFeign {

    @GetMapping("/prod/prod/getSkuListByIds")
    Result<List<Sku>> getSkuListByIds(@RequestParam List<Long> skuIdList);

}
